package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_ghost_token", desc = "鬼市信物数量日志", autoSave = true, uploadCk = true)
public class LogGhostToken extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "获得鬼市信物数量")
    private int getCount;
    @FieldTypeAnnotation(desc = "当前数量")
    private int newValue;

    public LogGhostToken(int activityId, long userId, int getCount, int newValue) {
        this.activityId = activityId;
        this.userId = userId;
        this.getCount = getCount;
        this.newValue = newValue;
    }

    public long getUserId() {
        return userId;
    }

}
